home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / lib / include / imake / sun.cf < prev    next >
Encoding:
Text File  |  1991-10-22  |  1.5 KB  |  72 lines

  1. XCOMM platform:  $XConsortium: sun.cf,v 1.69 91/09/09 18:23:59 rws Exp $
  2.  
  3. #define OSName            SunOS 4.1.1
  4. XCOMM operating system:  OSName
  5. #define OSMajorVersion    4
  6. #define OSMinorVersion    1
  7.  
  8. #if OSMajorVersion < 4 || (OSMajorVersion == 4 && OSMinorVersion < 1)
  9. /* We do not guarantee this will work */
  10. #define BootstrapCFlags   -DNOSTDHDRS
  11. #define StandardDefines   -DNOSTDHDRS
  12. #endif
  13.  
  14. #define HasSaberC      YES
  15. #define HasNdbm          YES
  16. #define HasShm          YES
  17. #define HasSecureRPC      YES
  18. #define SetTtyGroup      YES
  19. #define HasPutenv      YES
  20. #define XsunServer      YES        /* has color and mono support */
  21. #define XsunMonoServer      YES        /* monochrome only */
  22. #define BuildPexExt      XsunServer
  23.  
  24. #ifdef sparc
  25. #undef sparc
  26. #define SparcArchitecture
  27. #endif
  28. #ifdef sun386
  29. #undef sun386
  30. #define i386Architecture
  31. #endif
  32.  
  33. #include <sunLib.rules>
  34.  
  35. #if HasGcc
  36.  
  37. #define SharedLibraryCcCmd cc
  38. #define ExtraLoadFlags -B/usr/bin/
  39. #define AllocateLocalDefines /**/
  40.  
  41. .c.o:
  42.     $(CC) -c $(CFLAGS) $*.c
  43.  
  44. #else
  45.  
  46. #define AllocateLocalDefines -DINCLUDE_ALLOCA_H
  47.  
  48. #ifdef mc68000
  49. #define DefaultCCOptions -f68881
  50. #else
  51. #define DefaultCCOptions
  52. #endif
  53.  
  54. #define PexCCOptions DefaultCCOptions
  55.  
  56. #endif
  57.  
  58. #define SharedAllocateLocalDefines -DINCLUDE_ALLOCA_H
  59. #define LibraryCCOptions /* don't want special floating point */
  60.  
  61. #ifndef UseSunWindowsInServer
  62. #define UseSunWindowsInServer    NO    /* link in SunWindows support? */
  63. #endif
  64.  
  65. #if UseSunWindowsInServer
  66. #define SunWindowsDefines -DSUN_WINDOWS
  67. #else
  68. #define SunWindowsDefines /* as nothing */
  69. #endif
  70.  
  71. #define ServerOSDefines SunWindowsDefines AllocateLocalDefines
  72.